module.exports = {
    // 选项...
    devServer: {
        proxy: {
            '/sug': {
                target: 'https://suggest.taobao.com',
                ws: true,
                changeOrigin: true
            }
        }
    }
}